# -*- coding: utf-8 -*-
# @Time    : 2025/4/20 下午9:04
# @Author  : yqk
# @File    : 网易云.py
# @Software: PyCharm

import requests
headers = {
    "accept": "application/json, text/plain, */*",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/x-www-form-urlencoded",
    "origin": "https://wksb.top",
    "priority": "u=1, i",
    "referer": "https://wksb.top/index/login.php",
    "sec-ch-ua": "\"Microsoft Edge\";v=\"135\", \"Not-A.Brand\";v=\"8\", \"Chromium\";v=\"135\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0",
    "x-requested-with": "XMLHttpRequest"
}
cookies = {
    "sl-session": "YmHyHKKVB2gwq7gRzXLEdw==",
    "sl-challenge-server": "cloud",
    "PHPSESSID": "0k7ge2evika3b8e701rvbt0vlc",
    "sl_jwt_session": "co10MQ5BR9CR7O6H8W2MujQr3JdFdR1yPtmJPPxBuCVIuSNmuZ1JeGt9BL8St/YZ",
    "sl_jwt_sign": ""
}
url = "https://wksb.top/apisub.php"
params = {
    "act": "login"
}
data = {
    "user": "2473511424",
    "pass": "Syz0315"
}
response = requests.post(url, headers=headers, cookies=cookies, params=params, data=data)
r=response.json()["msg"]
print(response.text)
print(response)